package com.jzo2o.customer.controller.open;

import com.jzo2o.customer.model.dto.request.InstitutionRegisterReqDTO;
import com.jzo2o.customer.service.IServeProviderService;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**
 * 机构注册功能相关接口
 * @author 45505
 */
@RestController("openServeProviderController")
@RequestMapping("/open/serve-provider")
@Api(tags = "机构注册功能相关接口")
public class ServeProviderController {

    @Resource
    private IServeProviderService serveProviderService;

    @PostMapping("/institution/register")
    public void register(@RequestBody InstitutionRegisterReqDTO institutionRegisterReqDTO){
        serveProviderService.register(institutionRegisterReqDTO);
    }
}
